package com.ssn.adapter.robot;

public class Adapters implements Robot{
    private Bird bird;
    private Dog dog;
    Adapters(){
        bird = new Bird();
        dog = new Dog();
    }
    @Override
    public void run(){
        bird.fly();
    }
    @Override
    public void cry(){
        dog.cry();
    }
}
